<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ofwi="http://java.sun.com/jsf/composite/ofwi"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">

	<ui:composition template="/WEB-INF/layouts/standard.xhtml">
		<ui:define name="content">
	      	<h:form>
	      		<p:dataTable id="output" value="#{searchBean.lstUser}" var="u">
								<p:column>
									<f:facet name="header">
										<h:outputText value="User Name" />
									</f:facet>
									<h:outputText value="#{u.username}" />
								</p:column>
								<p:column>
									<f:facet name="header">
										<h:outputText value="First Name" />
									</f:facet>
									<h:outputText value="#{u.firstname}" />
								</p:column>
								<p:column>
									<f:facet name="header">
										<h:outputText value="Last Name" />
									</f:facet>
									<h:outputText value="#{u.lastname}" />
								</p:column>
								<p:column>
									<f:facet name="header">
										<h:outputText value="Age" />
									</f:facet>
									<h:outputText value="#{u.age}" />
								</p:column>
								<p:column>
									<f:facet name="header">
										<h:outputText value="Description" />
									</f:facet>
									<h:outputText value="#{u.desc}" />
								</p:column>
						</p:dataTable>
	      	</h:form>
	      	<a href="search">Back to Search Page</a>
	    </ui:define>
		
	</ui:composition>
 </html>